Optimal. Leaf size=170 \[ \frac{2 e \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{15 d^2 x^3}-\frac{\left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{5 d x^5}+\frac{2 b e^2 n \sqrt{d+e x^2}}{15 d^2 x}-\frac{2 b e^{5/2} n \tanh ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d+e x^2}}\right )}{15 d^2}+\frac{2 b e n \left (d+e x^2\right )^{3/2}}{45 d^2 x^3}-\frac{b n \left (d+e x^2\right )^{5/2}}{25 d^2 x^5} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.151702, antiderivative size = 170, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 8, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.32, Rules used = {271, 264, 2350, 12, 451, 277, 217, 206} \[ \frac{2 e \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{15 d^2 x^3}-\frac{\left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{5 d x^5}+\frac{2 b e^2 n \sqrt{d+e x^2}}{15 d^2 x}-\frac{2 b e^{5/2} n \tanh ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d+e x^2}}\right )}{15 d^2}+\frac{2 b e n \left (d+e x^2\right )^{3/2}}{45 d^2 x^3}-\frac{b n \left (d+e x^2\right )^{5/2}}{25 d^2 x^5} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 271
Rule 264
Rule 2350
Rule 12
Rule 451
Rule 277
Rule 217
Rule 206
Rubi steps
\begin{align*} \int \frac{\sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{x^6} \, dx &=-\frac{\left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{5 d x^5}+\frac{2 e \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{15 d^2 x^3}-(b n) \int \frac{\left (d+e x^2\right )^{3/2} \left (-3 d+2 e x^2\right )}{15 d^2 x^6} \, dx\\ &=-\frac{\left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{5 d x^5}+\frac{2 e \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{15 d^2 x^3}-\frac{(b n) \int \frac{\left (d+e x^2\right )^{3/2} \left (-3 d+2 e x^2\right )}{x^6} \, dx}{15 d^2}\\ &=-\frac{b n \left (d+e x^2\right )^{5/2}}{25 d^2 x^5}-\frac{\left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{5 d x^5}+\frac{2 e \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{15 d^2 x^3}-\frac{(2 b e n) \int \frac{\left (d+e x^2\right )^{3/2}}{x^4} \, dx}{15 d^2}\\ &=\frac{2 b e n \left (d+e x^2\right )^{3/2}}{45 d^2 x^3}-\frac{b n \left (d+e x^2\right )^{5/2}}{25 d^2 x^5}-\frac{\left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{5 d x^5}+\frac{2 e \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{15 d^2 x^3}-\frac{\left (2 b e^2 n\right ) \int \frac{\sqrt{d+e x^2}}{x^2} \, dx}{15 d^2}\\ &=\frac{2 b e^2 n \sqrt{d+e x^2}}{15 d^2 x}+\frac{2 b e n \left (d+e x^2\right )^{3/2}}{45 d^2 x^3}-\frac{b n \left (d+e x^2\right )^{5/2}}{25 d^2 x^5}-\frac{\left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{5 d x^5}+\frac{2 e \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{15 d^2 x^3}-\frac{\left (2 b e^3 n\right ) \int \frac{1}{\sqrt{d+e x^2}} \, dx}{15 d^2}\\ &=\frac{2 b e^2 n \sqrt{d+e x^2}}{15 d^2 x}+\frac{2 b e n \left (d+e x^2\right )^{3/2}}{45 d^2 x^3}-\frac{b n \left (d+e x^2\right )^{5/2}}{25 d^2 x^5}-\frac{\left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{5 d x^5}+\frac{2 e \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{15 d^2 x^3}-\frac{\left (2 b e^3 n\right ) \operatorname{Subst}\left (\int \frac{1}{1-e x^2} \, dx,x,\frac{x}{\sqrt{d+e x^2}}\right )}{15 d^2}\\ &=\frac{2 b e^2 n \sqrt{d+e x^2}}{15 d^2 x}+\frac{2 b e n \left (d+e x^2\right )^{3/2}}{45 d^2 x^3}-\frac{b n \left (d+e x^2\right )^{5/2}}{25 d^2 x^5}-\frac{2 b e^{5/2} n \tanh ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d+e x^2}}\right )}{15 d^2}-\frac{\left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{5 d x^5}+\frac{2 e \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{15 d^2 x^3}\\ \end{align*}
Mathematica [A] time = 0.194641, size = 145, normalized size = 0.85 \[ -\frac{\sqrt{d+e x^2} \left (15 a \left (3 d^2+d e x^2-2 e^2 x^4\right )+b n \left (9 d^2+8 d e x^2-31 e^2 x^4\right )\right )+15 b \sqrt{d+e x^2} \left (3 d^2+d e x^2-2 e^2 x^4\right ) \log \left (c x^n\right )+30 b e^{5/2} n x^5 \log \left (\sqrt{e} \sqrt{d+e x^2}+e x\right )}{225 d^2 x^5} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.507, size = 0, normalized size = 0. \begin{align*} \int{\frac{a+b\ln \left ( c{x}^{n} \right ) }{{x}^{6}}\sqrt{e{x}^{2}+d}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.62611, size = 772, normalized size = 4.54 \begin{align*} \left [\frac{15 \, b e^{\frac{5}{2}} n x^{5} \log \left (-2 \, e x^{2} + 2 \, \sqrt{e x^{2} + d} \sqrt{e} x - d\right ) +{\left ({\left (31 \, b e^{2} n + 30 \, a e^{2}\right )} x^{4} - 9 \, b d^{2} n - 45 \, a d^{2} -{\left (8 \, b d e n + 15 \, a d e\right )} x^{2} + 15 \,{\left (2 \, b e^{2} x^{4} - b d e x^{2} - 3 \, b d^{2}\right )} \log \left (c\right ) + 15 \,{\left (2 \, b e^{2} n x^{4} - b d e n x^{2} - 3 \, b d^{2} n\right )} \log \left (x\right )\right )} \sqrt{e x^{2} + d}}{225 \, d^{2} x^{5}}, \frac{30 \, b \sqrt{-e} e^{2} n x^{5} \arctan \left (\frac{\sqrt{-e} x}{\sqrt{e x^{2} + d}}\right ) +{\left ({\left (31 \, b e^{2} n + 30 \, a e^{2}\right )} x^{4} - 9 \, b d^{2} n - 45 \, a d^{2} -{\left (8 \, b d e n + 15 \, a d e\right )} x^{2} + 15 \,{\left (2 \, b e^{2} x^{4} - b d e x^{2} - 3 \, b d^{2}\right )} \log \left (c\right ) + 15 \,{\left (2 \, b e^{2} n x^{4} - b d e n x^{2} - 3 \, b d^{2} n\right )} \log \left (x\right )\right )} \sqrt{e x^{2} + d}}{225 \, d^{2} x^{5}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{e x^{2} + d}{\left (b \log \left (c x^{n}\right ) + a\right )}}{x^{6}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]